/**
 * Created by Zhang Haijun on 2016/8/9.
 */
//数据接口
app.constant('CONFIG', {
	':9004/devops-runtime/login': '/statics/api/access/login.json',
	//退出
	"/logout" : "/statics/api/assets/datacenter/dataCenter-modify.json",
	// 用户修改密码
	"/user/change" : "/statics/api/assets/datacenter/dataCenter-modify.json",   //密码修改
	"/user/check" : "/statics/api/assets/datacenter/dataCenter-modify.json",    //密码校验
	"/user/checkUser":"/statics/api/access/login.json",

    //仪表盘
	'/devops-runtime/instrument/detail' : '/statics/api/common/commonDeatil.json',
	//容器管理
	':9004/devops-runtime/host/list' : '/statics/api/common/commonList.json',
	'/devops-runtime/container/list' : '/statics/api/common/commonList.json',
	'/devops-runtime/container/log' : '/statics/api/common/commonEdit1.json',
	'/devops-runtime/container/terminal' : '/statics/api/common/commonEdit2.json',
	'/devops-runtime/container/detail' : '/statics/api/common/commonDeatil.json',
	'/devops-runtime/disk/list' : '/statics/api/common/commonList.json',
	'/devops-runtime/img/list' : '/statics/api/common/commonList.json',
	'/devops-runtime/img/detail' : '/statics/api/common/commonDeatil.json',
	'/devops-runtime/shop/detail' : '/statics/api/common/commonDeatil.json',
	'/devops-runtime/shop/list' : '/statics/api/common/commonList.json',
	'/devops-runtime/model/chart':'/statics/api/common/modelChart.json',
	'/label/page': '/statics/api/common/commonCharts.json',
	//资源管理
	'/getContainersInfo.do' : '/statics/api/common/commonList.json',
	'/devops-runtime/host/list' : '/statics/api/common/commonList.json',
	'/devops-runtime/host/create' : '/statics/api/common/commonResult.json',
	':9002/devops-application/createRawApplication.do' : '/statics/api/common/commonResult.json',
	'/devops-runtime/host/modify' : '/statics/api/common/commonResult.json',
	'/devops-runtime/host/delete' : '/statics/api/common/commonResult.json',
	'/devops-runtime/host/detail' : '/statics/api/common/commonDeatil.json',

	'/devops-runtime/warehouse/list' : '/statics/api/common/commonList.json',
	':9002/devops-application/getApplicationListByUsername.do' : '/statics/api/common/commonList.json',
	
    //用户中心
	'/devops-runtime/user/list' : '/statics/api/common/commonList.json',
	'/devops-runtime/user/create' : '/statics/api/common/commonResult.json',
	'/devops-runtime/user/modify' : '/statics/api/common/commonResult.json',
	'/devops-runtime/user/delete' : '/statics/api/common/commonResult.json',
	'/devops-runtime/user/lock' : '/statics/api/common/commonResult.json',
	'/devops-runtime/user/active' : '/statics/api/common/commonResult.json',
	
	'/role/list' : '/statics/api/common/commonList.json',
	'/role/create' : '/statics/api/common/commonResult.json',
	'/role/modify' : '/statics/api/common/commonResult.json',
	'/role/delete' : '/statics/api/common/commonResult.json',
	'/user/checkUsername' : '/staticroles/api/assets/datacenter/dataCenter-modify.json',

	'/permissions/list' : '/statics/api/common/commonList.json',

	'/user/reset' : '/statics/api/userCenter/user/userList.json',
	'/user/auth' : '/statics/api/userCenter/role/roleList.json',
	'/user/roles' : '/statics/api/userCenter/role/roleList.json',
	'/user/accredit' : "/statics/api/assets/datacenter/dataCenter-load.json",
	'/user/quota' : '/statics/api/userCenter/role/roleList.json',
	'/user/res' : '/statics/api/userCenter/department/distribute.json',
	'/user/assign':'/statics/api/userCenter/department/distribute.json',
	'/user/deleteRes':'/statics/api/userCenter/department/distribute.json',
	//角色管理
	


	'/role/detail' : '/statics/api/userCenter/role/roleDetail.json',
	'/role/auth' : '/statics/api/userCenter/permission/permissionList.json',
	'/role/auths': '/statics/api/userCenter/permission/permissionList.json',
	'/role/accredit': '/statics/api/assets/datacenter/dataCenter-load.json',
	'/role/commands': '/statics/api/userCenter/permission/permissionList.json',
	'/role/accCommand': '/statics/api/assets/datacenter/dataCenter-load.json',
	//权限管理
	'/auth/list' : '/statics/api/userCenter/permission/permissionList.json',
	'/auth/remove' : '/statics/api/userCenter/permission/permissionList.json',
	'/auth/create' : '/statics/api/userCenter/permission/permissionList.json',
	'/auth/modify' : '/statics/api/userCenter/permission/permissionList.json',
	'/auth/detail' : '/statics/api/userCenter/permission/permissionDetail.json',
	'/auth/listParents':'/statics/api/userCenter/permission/permissionList.json',
	'/auth/list/icon':'/statics/api/userCenter/permission/permissionList.json',
	//组织机构
	'/department/list' : '/statics/api/userCenter/department/departmentList.json',
	'/department/remove' : '/statics/api/userCenter/department/departmentList.json',
	'/department/create' : '/statics/api/userCenter/department/departmentList.json',
	'/department/modify' : '/statics/api/userCenter/department/departmentList.json',
	'/department/detail' : '/statics/api/userCenter/department/departmentDetail.json',
	'/department/quota' : '/statics/api/userCenter/role/roleList.json',
	'/department/res' : '/statics/api/userCenter/department/distribute.json',
	'/department/assign':'/statics/api/userCenter/department/distribute.json',
	'/res/list' : '/statics/api/userCenter/department/distribute.json',
	'/department/deleteRes':'/statics/api/userCenter/department/distribute.json',
	//分组管理
	'/user/group/list' : '/statics/api/userCenter/user/userList.json',
	'/user/group/remove' : '/statics/api/userCenter/user/userList.json',
	'/user/group/create' : '/statics/api/userCenter/user/userList.json',
	'/user/group/modify' : '/statics/api/userCenter/user/userList.json',
	'/user/group/detail' : '/statics/api/userCenter/group/groupDetail.json',
	'/user/group/users': '/statics/api/userCenter/user/userList.json',
	'/user/group/addUser': '/statics/api/userCenter/user/userList.json',
	'/user/group/resGroups':'/statics/api/userCenter/user/userList.json',
	'/user/group/addResGroup':'/statics/api/userCenter/user/userList.json',
	'/user/group/listUser': '/statics/api/userCenter/group/group.json',
	'/user/group/listResGroup': '/statics/api/userCenter/group/group.json',

	'/res/group/list' : '/statics/api/userCenter/user/userList.json',
	'/res/group/remove' : '/statics/api/userCenter/user/userList.json',
	'/res/group/create' : '/statics/api/userCenter/user/userList.json',
	'/res/group/modify' : '/statics/api/userCenter/user/userList.json',
	'/res/group/detail' : '/statics/api/userCenter/group/groupDetail.json',
	'/res/group/addRes': '/statics/api/userCenter/user/userList.json',
	'/res/group/listRes':'/statics/api/userCenter/group/group.json',
	'/res/group/deleteRes' : '/statics/api/userCenter/user/userList.json',
});